package com.viper.weather.logic.network

import com.viper.weather.MyApplication
import com.viper.weather.logic.model.PlaceResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Created by viper.
 * Time: 20-6-27 02:26:27
 * Description:
 */
interface PlaceService {
    @GET("v2/place?token=${MyApplication.TOKEN}&lang=zh_CN")
    fun searchPlace(@Query("query") query: String): Call<PlaceResponse>
}